|
|
|
|
|
|
|
Example program Rotate uses these techniques to display surfaces of revolution. This program is similar to the Rotate program presented in Chapter 14. Like program Trans, it has a Hide Surfaces check box that lets you tell the program to remove hidden surfaces. |
|
|
|
|
|
|
|
|
Hidden surface removal is an important step on the path to visual realism. Removing lines that should be hidden makes complicated three-dimensional scenes much easier to understand. Left in the picture, these lines clutter the image, usually without adding useful information. |
|
|
|
|
|
|
|
|
While these images are easier to understand, they are still not very aesthetically appealing. No one is likely to mistake them for photographs of actual objects. Chapter 16, Shading Models, shows how a program can use shading to make three-dimensional objects appear much more realistic. Chapter 17, Ray Tracing, extends these shading techniques to produce even more realistic images. |
|
|
|
|
|